package com.adou.common.mapper;

import com.adou.common.mapper.base.BaseDao;
import com.adou.common.model.FlowDirection;
import com.adou.common.model.FlowMain;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlowDirectionMapper extends BaseDao<FlowDirection> {

    int deleteByIfmid(List<FlowMain> list);

    List<FlowDirection> queryStartDirection(@Param("ifmid") Long ifmid);

    List<FlowDirection> checkIsEnd(FlowDirection flowDirection);

}
